package com.atguigu.yygh.cmn;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * ClassName: ServiceCmnApplication
 * Package: com.atguigu.yygh.cmn
 *
 * @Date: 2021/7/18 11:33
 * @author: 浪漫
 * @Description:
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableSwagger2
@ComponentScan(basePackages = "com.atguigu.yygh")
public class ServiceCmnApplication {
    public static void main(String[] args) {
          SpringApplication.run(ServiceCmnApplication.class, args);
     }
}
